home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / Palettes / TablePrinter / Headers / TablePrintPanel.h < prev   
Text File  |  1995-06-12  |  714b  |  30 lines

  1.  
  2. // TablePrintPanel
  3. //
  4. // By Eric T. Seymour, NeXT Computer, Inc.
  5. //
  6. // TablePrintPanel lets you set the pages per row, so
  7. // that it will adjust the total pages sent to reflect the root page.
  8. // For instance, if I asked to print from 2 to 2 on a table that was three
  9. // pages wide, It would set PrintInfo to print 4 through 6.
  10. //
  11. // You may freely copy, distribute, and reuse the code in this example.
  12. // NeXT disclaims any warranty of any kind, expressed or  implied, as to its
  13. // fitness for any particular use.
  14. //
  15. // This file looks best when using tabstops of 3.
  16.  
  17.  
  18. #import <appkit/appkit.h>
  19.  
  20. @interface TablePrintPanel:PrintPanel
  21. {
  22.     int    pagesPerRow;
  23. }
  24.  
  25. - setPagesPerRow:(int)pages;
  26. - (int)pagesPerRow;
  27.  
  28. @end
  29.  
  30.